// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'lib-flexible'
import * as api from './api';
import * as currency from './utils/index'
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)
 
// // or with options
// Vue.use(VueLazyload, {
//   preLoad: 1.3,
//   error: 'dist/error.png',
//   loading: 'dist/loading.gif',
//   attempt: 1
// })
Vue.config.productionTip = false
Vue.prototype.$bus=new Vue();
Vue.prototype.$api= api
Vue.prototype.$currency = currency
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
